import request from '@/utils/request'

// 查询没啥用列表
export function listLianshou(query) {
  return request({
    url: '/system/lianshou/list',
    method: 'get',
    params: query
  })
}

// 查询没啥用详细
export function getLianshou(id) {
  return request({
    url: '/system/lianshou/' + id,
    method: 'get'
  })
}

// 新增没啥用
export function addLianshou(data) {
  return request({
    url: '/system/lianshou',
    method: 'post',
    data: data
  })
}

// 修改没啥用
export function updateLianshou(data) {
  return request({
    url: '/system/lianshou',
    method: 'put',
    data: data
  })
}

// 删除没啥用
export function delLianshou(id) {
  return request({
    url: '/system/lianshou/' + id,
    method: 'delete'
  })
}
